class Person:
    """学生"""

    def __init__(self):
        # 班级
        self.grade = ""

        # 学号
        self.studentId = ""

        # 姓名
        self.name = ""

        # 学分
        self.credit = 0

        # 累计学分
        self.allCredits = 0

        # 学科个数
        self.disciplinesNum = 0

        # 全部学科
        self.allDisciplinesNum = []

        # 开始时间
        self.SemesterTime_start = ""

        # 截止时间
        self.SemesterTime_shop = ""

        # 一 || 二 学期
        self.middle = ""

    def get_grade(self):
        return self.grade

    def set_grade(self, grade):
        self.grade = grade

    def get_studentId(self):
        return self.studentId

    def set_studentId(self, studentId):
        self.studentId = studentId

    def get_name(self):
        return self.name

    def set_name(self, name):
        self.name = name

    def get_credits(self):
        return self.credit

    def set_credits(self, credit):
        self.credit = credit

    def get_allCredits(self):
        return self.allCredits

    def set_allCredits(self, allCredits):
        self.allCredits = allCredits

    def get_disciplinesNum(self):
        return self.disciplinesNum

    def set_disciplinesNum(self, disciplinesNum):
        self.disciplinesNum = disciplinesNum

    def get_allDisciplinesNum(self):
        return self.allDisciplinesNum

    def set_allDisciplinesNum(self, allDisciplines):
        result = []
        for discipline in allDisciplines:
            result.append(discipline)
        # return result
        self.allDisciplinesNum = result

    def get_SemesterTime_start(self):
        return self.SemesterTime_start

    def set_SemesterTime_start(self, SemesterTime_start):
        self.SemesterTime_start = SemesterTime_start

    def get_SemesterTime_shop(self):
        return self.SemesterTime_start

    def set_SemesterTime_shop(self, SemesterTime_shop):
        self.SemesterTime_shop = SemesterTime_shop

    def get_middle(self):
        return self.middle

    def set_middle(self, middle):
        self.middle = middle
